class CreateRegistrations < ActiveRecord::Migration
  def change
    create_table :registrations do |t|
      t.datetime :register_time
      t.datetime :cancel_time
      t.references :student
      t.references :timeslot

      t.timestamps
    end
  end
end
